{config_load file="$language/lang.conf" section="account_history_info"}
{config_load file="$language/lang.conf" section="print_order"}
{config_load file="$language/lang.conf" section="product_info"}
<div class="boxx">
<div class="b_tit5">
 <div><div><div><h3>{#heading_history_info#}</h3></div></div></div>
</div>
<div class="rcon1">
 <div class="rcon2">
   <div class="rcon3">
   <h3>{#text_oid#}{$ORDER_NUMBER}({$ORDER_STATUS})</h3>
   <h4>{#text_date#} {$ORDER_DATE}</h4>
   <div class="zx">
    <span class="r"><b>{#text_shipping_address#}</b><br />{$DELIVERY_LABEL}</span>
    {if $BILLING_LABEL}<span class="l"><b>{#text_payment_address#}</b><br />{$BILLING_LABEL}</span>{/if}
   </div>
   <div class="hr"></div>
   <div class="zx"><b>{#text_shipping_method#}</b> {$SHIPPING_METHOD}</div>
   {if $PAYMENT_METHOD}
   <div class="hr"></div>
   <div class="zx"><b>{#text_payment_method#}</b> {$PAYMENT_METHOD}</div>
   {/if}
   {if $ORDER_COMMENTS!=''}
   <div class="hr"></div>
   <div class="zx"><b>{#text_comments#}</b> {$ORDER_COMMENTS}</div>
   {/if}
   {if $PAYMENT_INFORMATION!=''}
   <div class="hr"></div>
   <div class="zx"><b>{#text_payment_info#}</b> {$PAYMENT_INFORMATION}</div>
   {/if}
   <div class="hr"></div>
   <div class="zx">
   <h3>{#title_history#}</h3>{$HISTORY_BLOCK}
   </div>
   <div class="hr"></div>
   <div class="zx"><h3>{#text_products#}</h3></div>
	<table class="table" cellspacing="1">
        <tr>
          <th colspan="2">{#head_units#}</th>
          <th>{#head_products#}</th>
          <th>{#head_artnr#}</th>
          <th>{#head_single_price#}</th>
          <th>{#head_price#}</th>
        </tr>
        {foreach name=aussen item=order_values from=$order_data}
        <tr>
          <td>{$order_values.PRODUCTS_QTY}</td>
          <td>x</td>
          <td><b>{$order_values.PRODUCTS_NAME}</b><em>{$order_values.PRODUCTS_ATTRIBUTES}</em>{if $order_values.PRODUCTS_SHIPPING_TIME neq ''}<br />
            {#text_shippingtime#} {$order_values.PRODUCTS_SHIPPING_TIME}{/if}</td>
          <td>{$order_values.PRODUCTS_MODEL}<em>{$order_values.PRODUCTS_ATTRIBUTES_MODEL}</em></td>
          <td>{$order_values.PRODUCTS_SINGLE_PRICE}</td>
          <td align="right">{$order_values.PRODUCTS_PRICE}</td>
        </tr>
        {/foreach}
  {foreach name=aussen item=order_total_values from=$order_total}
  <tr>
    <td colspan="5" align="right">{$order_total_values.TITLE}</td>
    <td align="right">{$order_total_values.TEXT}</td>
  </tr>
  {/foreach}
</table>
{if $downloads_content neq ''}
  {$downloads_content}
{/if}
<div class="zx">
<h3>{#title_print#}</h3>
{#text_print#}
</div>
<div class="sd">
 <span class="r">{$BUTTON_BACK}</span>
 <span class="l">{$BUTTON_PRINT}</span><span class="l">&nbsp;</span><span class="l">{$BUTTON_SCHET_PRINT}</span><span class="l">&nbsp;</span><span class="l">{$BUTTON_KVITANCIA_PRINT}</span>
</div>
   </div>
 </div>
</div>
<div class="bf"><div><div></div></div></div>
</div>
